<?php
$firstNumber = 5;
$secondNumber = 2.714;

echo '$firstNumber + $secondNumber = ' . "$firstNumber + $secondNumber = " . number_format((float)$firstNumber + $secondNumber, 2, '.', '');
?>